package com.example.mystoryapp2.ui.main.fragments

import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.example.mystoryapp2.contexts.AppContext

class SettingViewModel : ViewModel() {
    var user = MutableLiveData(AppContext.userInfo)
    fun isAuthor():Boolean{
        return AppContext.isAuthor()
    }
}